home *** CD-ROM | disk | FTP | other *** search
/ DS-CD ROM 2 1993 August / DS CD-ROM 2.Ausgabe (August 1993).iso / utility / ds0251 / mcopy.bat < prev    next >
DOS Batch File  |  1990-06-04  |  1KB  |  63 lines

  1. @ECHO OFF
  2. bat_cof
  3. bat_cls 31
  4. BAT_ZSAY 0 31 MCOPY  -   Multi-Disk-Copy
  5. BAT_ZSAY 1 79 Version 1.00
  6. BAT_ZSAY 2 31 (C) Copyright 1990 Klaus Overhage
  7. BAT_ZSAY 4  31 Klaus Overhage
  8. BAT_SAY 5 33 31 Computer-Software
  9. BAT_SAY 6 33 31 Erstellung+Vertrieb
  10. BAT_SAY 7 33 31 Rosenaustr. 15 A
  11. BAT_SAY 8 33 31 7000 Stuttgart 50
  12. BAT_SAY 9 33 31 TEL. 0711/544122
  13. IF '%1'== '' goto hilfe
  14. IF '%1'== 'A' goto lwa
  15. IF '%1'== 'a' goto lwa
  16. IF '%1'== 'B' goto lwb
  17. IF '%1'== 'b' goto lwb
  18. goto hilfe
  19. :lwa
  20. if '%2'=='' goto aonecopy
  21. bat_zini %2
  22. goto aloop
  23. :aonecopy
  24. bat_zini 1
  25. :aloop
  26. bat_zahl
  27. if %zaehler% == 0 goto exit
  28. if '%3' == 'F' format b:/4
  29. if '%3' == 'f' format b:/4
  30. xcopy a: b: /S/E
  31. bat_zdec
  32. goto aloop
  33. :lwb
  34. bat_nof
  35. if errorlevel 2 goto okay
  36. goto nodrive
  37. :okay
  38. if '%2'=='' goto bonecopy
  39. bat_zini %2
  40. goto bloop
  41. :bonecopy
  42. bat_zini 1
  43. :bloop
  44. bat_zahl
  45. if %zaehler% == 0 goto exit
  46. if '%3' == 'F' format a:/4
  47. if '%3' == 'f' format a:/4
  48. xcopy b:*.* a: /S/E
  49. bat_zdec
  50. goto bloop
  51. :hilfe
  52. bat_say 13 2 31 SYNTAX: MCOPY Quelle [Anzahl] [F]
  53. bat_say 15 2 31 Quelle = A bedeutet Ziel = B
  54. bat_say 16 2 31 Quelle = B bedeutet Ziel = A
  55. bat_say 18 2 31 Anzahl = Anzahl der Kopien (Standardwert = 1, max. 65535)
  56. bat_say 20 2 31 [F] Gibt an das Diskette vorher formatiert wird
  57. goto exit
  58. :nodrive
  59. bat_zsay 12 79 Sorry -- Laufwerk B nicht vorhanden !
  60. :exit
  61. bat_con
  62. bat_cpos 23 0
  63.